<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%@ page import="jt.classic.system.context.ISystemContext"%>
<%
	response.setHeader("Pragma","No-cache");//HTTP 1.1 
	response.setHeader("Cache-Control","no-cache");//HTTP 1.0 
	response.setHeader("Expires","0");//防止被proxy 	

	String context = ISystemContext.getContextPath();
	
	if (ISystemContext.invalidSesstion(request)) {
		out.println("<script language='javascript'>");
		out.println("alert(\"当前会话无效,请重新登录\");");
		out.println("top.location = '" + (context.equals("") ? "/" : context) + "';");
		out.println("</script>");
  	}else{
 		IUser user = ISystemContext.getSessionUser(request);
%>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<script>
	var context = "<%=context%>";
</script>

<script src="<%=context %>/resources/jquery/ui/js/jquery-1.8.3.js"></script>
<script src="<%=context %>/resources/jquery/json2.js"></script>
<script src="<%=context %>/resources/jquery/jqueryExtend/jquery.grooveextend.js"
	type="text/javascript" charset="utf-8"></script>	
<%
  	}
%>	